package shajie.shajun.mmhf.Adapter.ViewHolder;

import android.databinding.ViewDataBinding;

import shajie.shajun.mmhf.Base.BaseRecyclerHolder;
import shajie.shajun.mmhf.Bean2.OutGoods;
import shajie.shajun.mmhf.databinding.ItemOutgoosBinding;

/**
 * Created by admin on 2017/11/27.
 */

 public class OutGoods_Holder extends BaseRecyclerHolder {
    private ItemOutgoosBinding mBinding;
    public OutGoods_Holder(ViewDataBinding binding) {
        super(binding);
        this.mBinding = (ItemOutgoosBinding)binding;
    }
    @Override
    public void init(Object c, int position) {
      mBinding.setOutgoods((OutGoods)c);
        mBinding.executePendingBindings();
    }
}
